﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace RhinoMockStudy
{
    public class Product
    {
        public Product()
        {
            this.Price = 2.45M;
            this.ProductName = "黄瓜";
            this.TotalAmount = 300;
        }
        decimal weight;

        public decimal Weight
        {
            get { return weight; }
            set { weight = value; }
        }
        decimal height;

        public decimal Height
        {
            get { return height; }
            set { height = value; }
        }
        decimal price;

        public decimal Price
        {
            get { return price; }
            set { price = value; }
        }
        string productName;

        public string ProductName
        {
            get { return productName; }
            set { productName = value; }
        }

        int totalAmount;
        /// <summary>
        /// 总数目
        /// </summary>
        public int TotalAmount
        {
            get { return totalAmount; }
            set { totalAmount = value; }
        }

    }
}
